package com.yuanfengPlus.basicInfoManage.customerInfo.dao;


import com.github.pagehelper.Page;
import com.yuanfengPlus.basicInfoManage.customerInfo.model.CustomerDto;
import com.yuanfengPlus.basicInfoManage.customerInfo.model.Customerinfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface ICustomerinfoDao {

    Page<Customerinfo> selectCustomerAll(CustomerDto customerDto);

    Integer addCustomer(Customerinfo customerinfo);

    Integer updateCustomer(Customerinfo customerinfo);

    Customerinfo selectCustomer(@Param("customer_id") String customer_id);
}
